#include "widget.h"
#include "ui_widget.h"
#include <QComboBox>

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QComboBox* com = new QComboBox(ui->groupBox_2);
    com->move(40,40);
    com->addItem("你好");

    ui->comboBox->addItem("鸡肉汉堡");
    ui->comboBox->addItem("牛肉汉堡");

    ui->comboBox_2->addItem("薯条");
    ui->comboBox_2->addItem("鸡块");
    ui->comboBox_2->addItem("鸡翅");

    ui->comboBox_3->addItem("可乐");
    ui->comboBox_3->addItem("雪碧");
}

Widget::~Widget()
{
    delete ui;
}

